<template>
  <div class="row-inline">
    <slot name="left" />
    <div class="main">
      <slot name="main" />
    </div>
    <slot name="right" />
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
  .row-inline{
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    .el-row,.el-form-item {
      margin-bottom: 0;
    }
    .main {
      flex: 1;
    }
  }
</style>
<style lang="scss">
  .row-inline{
    .el-row,.el-form-item {
      margin-bottom: 0;
    }
  }
</style>
